package com.hxht.cmp.service;


import com.hxht.cmp.pojo.SearchCriteria;

import java.util.List;
import java.util.Map;

public interface JudgeService {
    /**
     * 多法官Id查询案件排期或回顾
     *
     * @param searchCriteria
     * @return
     */
    List<Map<String, Object>> selectJudgeCasePlanOrReview(SearchCriteria searchCriteria);

    /**
     * 多法官Id查询更多开庭和更多回顾
     *
     * @param searchCriteria
     * @return
     */
    Map<String, Object> selectMoreCasePlanOrReview(SearchCriteria searchCriteria);

    /**
     * 多法官Id查询开庭总数
     *
     * @param judgeUids
     * @return
     */
    int getJudgeCourtStatistical(List<String> judgeUids);

    /**
     * 多法官Id查询开庭时长
     *
     * @param judgeUids
     * @return
     */
    int getJudgeCourtTimeStatistical(List<String> judgeUids);

    /**
     * 多法官Id查询开庭时长
     *
     * @param judgeUids
     * @return
     */
    int getJudgeFileSizeStatistical(List<String> judgeUids, String courtroomUid);

    /**
     * 法院所有法官开庭时长排行
     *
     * @param courtUid
     * @return
     */
    List<Map<String, Object>> getJudgeOpeningCourtTimeRanking(String courtUid);

    /**
     * 法院所有法官开庭次数排行
     *
     * @param CourtUid
     * @return
     */
    List<Map<String, Object>> getJudgeOpeningCourtNumRanking(String CourtUid);

    /**
     * 按月份统计法官开庭时长与开庭次数
     *
     * @param judgeUids
     * @param startDAte
     * @param endDate
     * @return
     */
    Map<String, Object> getJudgeCourtMonthStatistics(List<String> judgeUids, String courtUid, String startDAte, String endDate);
}
